TARGET = TVFeedView
TEMPLATE = app
QT += network \
    xml \
    xmlpatterns
SOURCES += main.cpp \
    mainwindow.cpp \
    channel.cpp \
    channellist.cpp \
    menudialog.cpp \
    programtable.cpp \
    streambuffer.cpp
HEADERS += mainwindow.h \
    channel.h \
    channellist.h \
    menudialog.h \
    player.h \
    programtable.h \
    streambuffer.h
FORMS += mainwindow.ui \
    menudialog.ui
RESOURCES += tvfeedview.qrc
unix { 
    isEmpty(PREFIX):PREFIX = /usr
    BINDIR = $$PREFIX/bin
    DATADIR = $$PREFIX/share
    DEFINES += DATADIR=\\\"$$DATADIR\\\" \
        PKGDATADIR=\\\"$$PKGDATADIR\\\"
    INSTALLS += target
    target.path = $$BINDIR
}
macx { 
    SOURCES += appleremote.cpp
    HEADERS += appleremote.h
    LIBS += -framework \
        IOKit
# vlcplayer
#    OBJECTIVE_SOURCES += vlcplayer.mm
#    HEADERS += appleremote.h
#    LIBS += -framework \
#        VLCKit
#    INCLUDEPATH += /Library/Frameworks/VLCKit.framework/Headers
#    DEFINES += MAC_OS_X_VERSION_MIN_REQUIRED=1050
}

# flvplayer
SOURCES += flvplayer.cpp
QT += webkit

# phononplayer
#QT += phonon
#SOURCES += phononplayer.cpp
#FORMS += player.ui
